﻿using System;
using System.Windows;

namespace LprMiddleWare.Views
{
    using Catel.Windows;

    using ViewModels;

    /// <summary>
    /// Interaction logic for SettingsWindow.xaml.
    /// </summary>
    public partial class SettingsWindow : DataWindow<SettingsViewModel>
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="SettingsWindow"/> class.
        /// </summary>
        public SettingsWindow()
        {
            InitializeComponent();
        }

        private void Add_Click(object sender, RoutedEventArgs e)
        {
        }

        private void Remove_Click(object sender, RoutedEventArgs e)
        {
            foreach (var selectedItem in ipList.SelectedItems)
            {
                ipList.Items.Remove(selectedItem);
            }
        }
    }
}
